# -*- coding: utf-8 -*-
from api.base_api.login_base_api import LoginBaseApi

class RentOrder(LoginBaseApi):

    def rent_order(self, start_time, end_time,rent_day, unit_price, rent_amount):
        # 登录
        payload = {
            "car_type": "北京现代BH716QAV",
            "start_time": start_time,
            "end_time": end_time,
            "rent_day": rent_day,
            "rent_amount": rent_amount,
            "unit_price": unit_price,
            "fetch_car_city": "保定",
            "fetch_car_address": "河北省保定市新市区德惠路向阳家园",
            "fetch_longitude": "115.46999582682139",
            "fetch_latitude": "38.86999609058642",
            "repay_car_city": "保定",
            "repay_car_address": "河北省保定市新市区德惠路向阳家园",
            "repay_latitude": "38.86999609058642",
            "repay_longitude": "115.46999582682139"

        }

        return payload
